package cn.com.jinhao.provider.user.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * HotLine
 * <p>Description: 资源实体类</p>
 *
 * @author ShaneMew
 * @version 1.0
 * @date 2019/11/28
 * @since 2019-11-28
 */

@ToString
@Data
@Table(name = "ST$RATH")
@ApiModel(value = "Func", description = "资源信息")
public class Func extends Base implements Serializable {
    private static final long serialVersionUID = -607455507981850849L;

    @Column(name = "rath")
    @ApiModelProperty(name = "资源")
    private String name;

    @Column(name = "paid")
    @ApiModelProperty(name = "上级资源编码")
    private String parentCode;

    @Column(name = "spel")
    @ApiModelProperty(name = "汉语拼音")
    private String spel;

    @Column(name = "atip")
    @ApiModelProperty(name = "提示文本")
    private String atip;

    @Column(name = "func")
    @ApiModelProperty(name = "功能函数")
    private String func;

    @Column(name = "furl")
    @ApiModelProperty(name = "链接地址")
    private String furl;

    @Column(name = "fimg")
    @ApiModelProperty(name = "图标")
    private String fimg;

    @Column(name = "SD$RATP_Code")
    @ApiModelProperty(name = "资源类型编码")
    private String rathTypeCode;

    @Column(name = "SD$RATP_RATP")
    @ApiModelProperty(name = "资源类型")
    private String rathType;

    @Column(name = "auth")
    @ApiModelProperty(name = "权限")
    private String auth;

    @Column(name = "sort")
    @ApiModelProperty(name = "排序")
    private Long sort;
}
